from pydantic import BaseModel, HttpUrl
from typing import Optional

class DocumentRequest(BaseModel):
    """文档处理请求"""
    url: HttpUrl
    summary_type: str = "brief"
    language: str = "zh"
    length: Optional[str] = None
    additional_instructions: Optional[str] = None


